import { View } from '@tarojs/components'
import '../index.scss'
import { memo } from 'react'

interface FooterBarProps {
  item: any
}

const FooterBar = memo(
  ({ item }: FooterBarProps) => {
    return (
      <>
        <View className="footer_detail">
          <View className="name">@小橙子</View>
          <View className="desc">准备好迎接夏天了吗#夏日穿搭#已经开始期待夏天了</View>
        </View>
      </>
    )
  },
  (prev, next) => {
    return prev.item.id === next.item.id
  }
)

export default FooterBar
